#include "libmesh/dof_map.h"
#include "SystemBase.h"
#include "libmesh/system.h"
#include "Context.h"
#include "libmesh/mesh.h"

Context::Context(System& sys, THREAD_ID tid):
	_sys(sys),
	_tid(tid),
	_dof_map(_sys.get_dof_map()),
	_mesh(_sys.get_mesh()),
	_dim(_mesh.mesh_dimension()),
	_current_elem(nullptr),
	_current_neighbor_elem(nullptr)
{
}

void Context::init()
{
	this->_fe_type = _sys.variable_type(0);
}

Context::~Context()
{
}